#ifndef __AT_UART_H__
#define __AT_UART_H__
//  at_uart.h
#include "ringbuffer.h"
#include <string.h>
#include <stdint.h>


#define AT_UART_RXBUF_SIZE		 1024
#define AT_UART_TXBUF_SIZE		 1024


/* --------------------------------------------------------------------*/
void at_uart_init(void);

void Process_InputData(uint8_t* data_buffer, uint16_t Nb_bytes);


unsigned int at_uart_write(const void *buf, unsigned int len); 

unsigned int at_uart_read(void *buf, unsigned int len);   

bool at_uart_rx_empty(void);   








#endif


